#include "UpRightSecondTooth.h"

USING_NS_CC;

UpRightSecondTooth::UpRightSecondTooth(HelloWorld* helloWorld)
{
	position = UP_LEFT_FIVE;
	upRightSecondTooth = CCSprite::create("dentist/img_sr_1280_720_tooth_t20001.png");
	upRightSecondTooth->setPosition(ccp(267,149));
	upRightSecondTooth->setScaleX(-1);
	helloWorld->addChild(upRightSecondTooth);
}

UpRightSecondTooth::~UpRightSecondTooth(void)
{
	upRightSecondTooth->autorelease();
}

bool UpRightSecondTooth::checkToolInWhichTooth(float x, float y){
	
	if(x>262 && x<272 && y > 113 && y<125){
		return true;
	}else{
		return false;
	}
}
